﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace OneCard.Face8280Module.Entities.DbModels
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("Department")]
    public class Department
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DeptID", IsPrimaryKey = true, IsIdentity = true)]
        public int DeptID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "ParentID")]
        public int ParentID { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DeptNum")]
        public string DeptNum { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DeptName")]
        public string DeptName { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "DeptDesc")]
        public string DeptDesc { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "UserID")]
        public int UserID { get; set; }
        /// <summary>
        ///  
        /// 默认值: ('')
        ///</summary>
        [SugarColumn(ColumnName = "DefineFields")]
        public string DefineFields { get; set; }
    }
}
